package com.psl.action.work.halfproduct;

import com.psl.services.work.list.halfProductServices;
import com.psl.services.work.updatedj;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class savedj
{
  public String execute()
  {
    HttpServletRequest request = ServletActionContext.getRequest();
    String h_dj = request.getParameter("h_dj");
    int h_id = Integer.parseInt(request.getParameter("h_id"));
    updatedj updatedj = new updatedj();
    updatedj.savedj(h_dj, h_id);
    halfProductServices hps=new halfProductServices();
    hps.querystatuswait();
    return "success";
  }
}
